﻿module RouteCollectionExtensions

open System
open System.Web.Routing
open System.Web.Mvc
open Castle.Windsor
open Microsoft.FSharp.Quotations
open Microsoft.FSharp.Quotations.Patterns
open Microsoft.FSharp.Quotations.DerivedPatterns

type RouteCollection with
            
    member x.Mapo name url (f: 'a * 'b -> _ -> #ActionResult) =
        let c = { new ControllerBase() with
                    //member x.pepe = ()
                    override x.ExecuteCore() = () }
        ()                            
